<!DOCTYPE html>
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>会员登录</title>
    <link rel="stylesheet" href="__MEMBER__/css/bootstrap.css"/>
    <link rel="stylesheet" href="__MEMBER__/less/3d/animate.css"/>
    <link rel="stylesheet" href="__MEMBER__/less/m.css"/>
    <script src="__MEMBER__/js/jquery.js"></script>
    <script type="text/javascript" src="javascript/main.js"></script>
    <script type="text/javascript" src="__MEMBER__/js/bootstrap.js"></script>
    <script type="text/javascript" src="__MEMBER__/js/sliderShowV2.js"></script>
    <script type="text/javascript" src="__MEMBER__/js/swiper.js"></script>
    <script type="text/javascript" src="__MEMBER__/js/ut.js"></script>
    <script type="text/javascript" src="__MEMBER__/js/layer/layer.js"></script>
    <script type="text/javascript" src="__MEMBER__/js/layerdialog.js"></script>
    <script type="text/javascript">
	var baseurl = '';
	var refer = "";
	var i = 0;
	function submit_form(obj) {
		var username = $.trim($("#username").val());
		var password = $.trim($("#password").val());
		var ckcode = $.trim($("#ckcode").val());
		if(!username||!password) {
                    layerdialog.showError('账号或密码不能为空');
                    return false;
		}
		if(!ckcode){
                    layerdialog.showError('验证码不能为空');
                    return false;
		}
		// loading
		var load_id = layerdialog.showLoading();
		// 登录
		$.noyaAjax(baseurl + "login.html?", $("#login_form input").serialize(), function(data){
                        layerdialog.closeDialog(load_id);
			if(data=='yes') {
				location.href	= (''==refer) ? "" : refer;
			} else {
				layerdialog.showError(data);
			}
		});

		return false;
	}
	</script>
</head>
<body>
<div class="site-nav">
        <div class="site-nav-bd clear">
            <ul class="site-nav-bd-l m-link">
                <li class="menu">
                     <div class="menu-hd">
                <a href="{:url('member/login/index')}">会员登录<i></i></a>
                <a href="{:url('member/reg/index')}">免费注册<i></i></a>

                 </div>
                </li>
                <li class="menu"  data-type="mhover">
                    <div class="menu-hd">
                        客服热线：{$confres['telphone']}                        <i class="m-b"></i>
                    </div>
                </li>
            </ul>
            <ul class="site-nav-bd-r m-linkA">
                <li class="menu"  data-type="mhover">
                    <div class="menu-hd">
                        <a href="{:url('index/about/index')}">新手指南</a>
                       
                    </div>
                </li>
               
            </ul>
        </div>
    </div><div class="head">
    <div class="head-nav">
        <a href="{:url('index/index/index')}"><div class="logo"></div></a>
        <span class="register-head">欢迎登录</span>
        <!--<div class="logo-title"></div>-->
    </div>
</div>

<div class="main yahei clear">
    <div class="login clear">
        <div class="m-l">
            <div class="loginad">
                <img src="__MEMBER__/images/logoinad.jpg" alt=""/>
            </div>
        </div>
        <div class="m-r">
            <div class="loginbg">
			        <form name="login_form" id="login_form" method="POST" action="" onsubmit="return submit_form(this);">
			       
			       
                <div class="logincnt">
                    <div class="logintitle m-linkD clear">
                        <span class="h2">会员登录</span>
                    </div>
                    <div class="loginform">
                        <div class="item">
                        	<i class="iconfont">&#xf012d;</i>
                            <input id="username" name="username" class="username" type="text" placeholder="请输入手机号"/>
                        </div>
                        <div class="item">
                        	<i class="iconfont">&#xf00c9;</i>
                                                                <input id="password" name="password" class="password" type="password" placeholder="请输入密码"/>
                                                        </div>
                        <div class="item no-border clear no-padding">
	                    <input id="ckcode" name="ckcode" type="text" class="u-txt" placeholder="请输入验证码" style="width:210px;">  <img src="{:captcha_src()}" onclick="this.src='{:captcha_src()}?'+Math.random();" width="120" style="margin-left:15px;margin-top:2px;cursor:pointer;" alt="captcha" />
	                    
                        </div>
                        <div class="item msg">
                            <p class="error-msg"></p>
                        </div>
                        <div class="item i-btn">
                            <button class="btn" type="submit">立即登录</button>
                        </div>
                        <div class="item i-btn clear m-linkA">
                            <a class="t3" href="{:url('index/about/index',array('id'=>1))}">忘记密码?</a>
                            <a class="t4" href="{:url('member/reg/index')}">注册</a>
                        </div>
                       
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
 <div class="foot">
        <div class="foot-nav clear m-linkF">
            <ul class="f_left">
                <li>COPYRIGHT ©{$confres['sitename']} 2017</li>
                <li><a href="javascript:;">{$confres['url']}</a></li>
                <li><a href="http://www.miitbeian.gov.cn" rel="nofollow" target="_blank">{$confres['icp']}</a></li>
            </ul>
            <!--<div class="footItem"><img src="images/gongshang_icon.png"></div>-->
            <ul class="f_right">
                                                                    <li><a href="{:url('index/about/index',array('id'=>1))}">关于我们</a></li>

                                                                                        <li>|</li><li><a href="{:url('index/about/index',array('id'=>1))}">广告服务</a></li>
                                                                                        <li>|</li><li><a href="{:url('index/about/index',array('id'=>1))}">联系我们</a></li>
                                                                                        <li>|</li><li><a href="http://www.cnzz.com/stat/website.php?web_id=5217562" target="_blank" title="站长统计">站长统计</a></li>
                                                                                        



            </ul>
        </div>
    </div>


</body>
</html>
